package com.sgb.kjwl.view.ui.activity.enterprise;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import androidx.fragment.app.FragmentManager;

import com.sgb.kjwl.AppActivity;
import com.sgb.kjwl.R;
import com.sgb.kjwl.view.ui.fragment.enterprise.NewMapSearchServiceFragment;

/**
 * 地图搜索服务/服务商
 */
public class MapSearchServiceAcitivity extends AppActivity {

    public static void start(Context context) {
        Intent intent = new Intent();
        intent.setClass(context, MapSearchServiceAcitivity.class);
        context.startActivity(intent);
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_map_search_service);

        NewMapSearchServiceFragment fragment = new NewMapSearchServiceFragment();
        FragmentManager fragmentManager = getSupportFragmentManager();
        fragmentManager.beginTransaction().add(R.id.body, fragment).commit();
    }

}
